//
/***********************************************************
             File name:      main.c
             Author:         Bitat (陆叁柒)
             Email :         Bitat@qq.com
             Gitee :         https://gitee.com/bitat
             CSDN  :         https://blog.csdn.net/bitat
             History:        2023/1/12
 ************************************************************/


#include <stdio.h>

void mult(int n)
{
    int i = 0;
    int j = 0;

    for (i = 1; i <= n; i++)
    {
        for (j = 1; j <= i; j++)
        {
            printf("%d*%d=%d ", j, i, i * j);
        }

        printf("\n");
    }
}

int main()
{
    int n = 0;

    scanf("%d", &n);
    mult(n);

    return 0;
}
